home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Super PC 34
/
Super PC 34 (Shareware).iso
/
spc
/
UTIL
/
DJGPP2
/
V2
/
DJTST200.ZIP
/
tests
/
libc
/
ansi
/
stdio
/
fscanf.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-03-20
|
264 b
|
20 lines
#include <stdio.h>
int
main(void)
{
FILE *f = fopen("fscanf.in", "r");
char buf[1000];
void **b[2];
b[0] = (void *)&buf;
printf("buf = %p\n", buf);
fscanf(f, "%s", buf);
printf("buf = `%s'\n", buf);
fclose(f);
return 0;
}